<template>
  <div class="prod-list">
    <CateHea class="prod-hea" ref="listheader">
      <template #left><i class="iconfont icon-zuojiantou" @click="$router.go(-1)"></i></template>
      <template #center>
        <div class="search">
          <div class="search-left">
            <span class="iconfont icon-sousuo"></span>
          </div>
          <input type="text" class="hea-search" />
        </div>
      </template>
      <template #right><i class="iconfont icon-shixincaidan"></i></template>
    </CateHea>
    <ProdSort></ProdSort>

    <ProductWrap></ProductWrap>
  </div>
</template>

<script>
import CateHea from '@/components/common/CateHea'
import ProdSort from '@/components/common/ProdSort'
import ProductWrap from '@/components/content/product/ProductWrap'
export default {
  data() {
    return {
      categoryId: this.$route.query.categoryId,
    }
  },
  components: {
    CateHea,
    ProdSort,
    ProductWrap,
  },
  methods: {},
}
</script>

<style lang="scss" scoped>
.prod-hea {
  background-color: white;
}
.search {
  position: relative;
  .search-left {
    position: absolute;
    top: 25%;
    left: 20px;
    font-size: 30px;
    color: #666;
    .app-name {
      font-weight: 700;
      color: red;
    }
    span {
      margin: 0 10px;
    }
    .icon-sousuo {
      font-size: 30px;
      color: #666;
    }
  }
  .hea-search {
    padding-left: 80px;
    width: 500px;
    height: 60px;
    color: #666;
    border-radius: 60px;
    box-sizing: border-box;
    background-color: #f7f7f7;
  }
}
</style>
